package cn.com.miao.lynx.service.system.api;

import cn.com.miao.lynx.common.base.controller.BaseController;
import cn.com.miao.lynx.common.base.service.BaseService;
import cn.com.miao.lynx.service.system.entity.SysLog;
import cn.com.miao.lynx.service.system.service.SysLogService;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * SysLogApi
 *
 * @title: SysLogApi
 * @description:
 * @author: dengmiao
 * @create: 2019-12-27 13:23
 **/
@Data
@AllArgsConstructor
@RestController
@RequestMapping("log")
public class SysLogApi implements BaseController<SysLog, Long> {

    private final SysLogService sysLogService;

    @Override
    public BaseService<SysLog, Long> getService() {
        return this.getSysLogService();
    }
}
